﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/MasterView.cshtml";
}
<script src="~/Content/ReceptionView/scripts/index_js/Index_lunbo.js"></script>
<script src="~/Scripts/jquery-1.8.2.min.js"></script>
<script>
    $(document).ready(function () {
        $.ajax({
            url: "/Home/BulletinShowOneDo",
            type: "post",
            data:{
              tid:5
            },
            success: function (data) { 
                if (data != "")
                {
                    $(".New_Notice").append(data)
                }
            }
        })
        $.ajax({
            url: "/Home/BulletinShowTwoDo",
            type: "post",
            data: {
                tid: 2
            },
            success: function (data) {
                if (data != "") {
                    $(".Media_Bd").append(data)
                }
            }
        })
        $.ajax({
            url: "/Home/BulletinShowThreeDo",
            type: "post",
            data: {
                tid: 3
            },
            success: function (data) {
                if (data!="") {
                    $(".Bbs_Dt").append(data)
                }
            }
        })
        $.ajax({
            url: "/Home/BulletinShowFourDo",
            type: "post",
            data: {
                tid: 4
            },
            success: function (data) {
                if (data != "") {
                    $(".Hl_Story").append(data)
                }
            }
        })
    })
    function SelsetID(n) {
        $.ajax({
            url: "/Home/BulletinIDshow",
            type: "post",
            data: {
                "name":n
            },
            success: function (data) {
                $.ajax({
                    url: "/Home/BulletinUpdatePV",
                    type: "post",
                    data: {
                        "id": data
                    },
                    success: function (fun) {
                        if (fun) {
                            return true;
                        }
                    }
                })
            }
        })
    }
</script>
<style type="text/css">
    .header {
        margin-bottom: 0px;
    }

    .content {
        width: 100%;
        margin-top: 0;
    }

    .foot .footer .FriendLinks {
        display: block;
    }
    .foot .footer .FriendLinks_cont {
        display: block;
    }
</style>
<div class="focus-bg">
    <div class="focus">
        <div id="carousel_container" class="con">



            <div class="pt pt_cur" style="display: block; background: url() no-repeat center center; background-image: url('../../pc/resources/img/1.png'); "><a href="#" onclick="toImgPage('')"></a></div>
            <div class="pt" style="background: url() no-repeat center center; background-image: url('../../pc/resources/img/2.png'); "><a href="#" onclick="toImgPage('')"></a></div>
            <div class="pt" style="background: url() no-repeat center center; background-image: url('../../pc/resources/img/3.png'); "><a href="#" onclick="toImgPage('')"></a></div>
            <div class="pt" style="background: url() no-repeat center center; background-image: url('../../pc/resources/img/1.png'); "><a href="#" onclick="toImgPage('')"></a></div>
            <div class="pt" style="background: url() no-repeat center center; background-image: url('../../pc/resources/img/2.png'); "><a href="#" onclick="toImgPage('')"></a></div>


        </div>
        <div class="autoS">
            <ul id="carousel_point">
                <li turn="1" class="libg">1</li>
                <li turn="2">2</li>
                <li turn="3">3</li>
                <li turn="4">4</li>
                <li turn="5">5</li>
            </ul>
        </div>
    </div>
</div>
<script type="text/javascript">
    var carousel_taskId;
    (function () {
        bindCarousel();
        carousel_taskId = setTimeout(carouselNext, 6000);
    })(jQuery)

  $(function () {
                    $.ajax({
                        type: "Post",
                        url: "/MemLoan/MemLoan_Show",
                        data: {
                            pageindex: 1,
                            pageSize: 4,
                            RepaymentModeId: "",
                            ExamineState:""
                        },
                        success: function (datas) {
                            var arr = new Array();
                            var p = new Array();
                            for (var i = 0; i < datas.Data.length; i++) {
                                arr.push("<dl>");
                                arr.push("<dd class='dd_1'>")
                                arr.push("<a href='/MemLoan/Show_One?id=" + datas.Data[i].MemLoanId + "' target='_blank'><b title='" + datas.Data[i].Title + "' class='SubL60'></b></a><a href='/MemLoan/Show_One?id=" + datas.Data[i].MemLoanId + "' target='_blank' class='lf'>" + datas.Data[i].Title + "</a>")
                                arr.push("</dd>");
                                arr.push(" <dd class='dd_2'>");
                                arr.push(" <span class='number'>");
                                arr.push(" " + datas.Data[i].Annualrate + "<b>%/年</b>");
                                arr.push("</span>");
                                arr.push("<dd class='dd_3'>");
                                arr.push(" <span class='number'>");
                                arr.push(" " + datas.Data[i].LoanMoney + "");
                                arr.push("</span>");
                                arr.push(" </dd>");
                                arr.push("<dd class='dd_4'>");
                                arr.push("<span class='number'>");
                                arr.push("" + datas.Data[i].RepaymentModeId + "</span>");
                                arr.push("</dd>");
                                arr.push("  </dl>");
                            }
                            $("#div1").html(arr.join(""));

                        }
                    })
                })

</script>

<div class="clear">
</div>
<div class="year">
    <div class="" style="width: 1000px; margin: 0 auto; position: relative;">
        <div class="index_Data">
            <div class="Data_cont lf">
                <p class="Digital">
                    139
                    <b>万</b>9183
                    <b>个</b>
                </p>
                <p class=" font_16">
                    智慧的投资人加入诚信
                </p>
            </div>
            <div class="Data_cont lf">
                <p class="Digital">
                    <b>￥</b>2210
                    <b>亿</b>8203
                    <b>万</b>
                </p>
                <p class=" font_16">
                    累计成功投资金额
                </p>
            </div>
            <div class="Data_cont lf">
                <p class="Digital">
                    <b>￥</b>54
                    <b>亿</b>9746
                    <b>万</b>
                </p>
                <p class=" font_16">
                    投资人已赚取收益
                </p>
            </div>
            <div class="Data_cont lf">
                <p class="Digital">
                    <b>￥</b>12
                    <b>亿</b>5002
                    <b>万</b>
                </p>
                <p class=" font_16">
                    投资人预期收益
                </p>
            </div>
            <!-- **************路径需改************** -->
            <a href="/MemLoan/More_MemLoan" target="_blank" class="More rt">查看更多</a>
            <div class="clear">
            </div>
        </div>
        <div class="exponent">
            <ul class="lf">
                <li>
                    <span class="first">诚信指数</span>
                    <span>2017-02-09</span>
                </li>
                <li>
                    <span class="first">诚信创投</span>
                    <span class="red">10.03% ↑</span>
                </li>
                <li>
                    <span class="first">P2P综合</span>
                    <span class="red">7.71% ↑</span>
                </li>
                <li>
                    <span class="first">其他理财</span>
                    <span class="red">6.91% ↑</span>
                </li>
            </ul>
            <a class="rt" href="/help/exponent">&gt;&gt;</a>
            <div class="clear">
            </div>
        </div>
        <div class="Guide">
            <div class="Guide_cont lf">
                <div class="Guide_box" style="border-right-style: none;">
                    <div class="pic">
                        <a href="#"><img alt="P2P理财" src="/pc/resources/New_pic/date_1.png" /></a>
                    </div>

                    <h5> <a href="#">安全</a></h5>
                    <ul style="margin-left: 0;">
                        <li>风险准备金保驾护航</li>
                        <li>5道风控审核收益安心有保障</li>
                    </ul>
                </div>
            </div>
            <div class="Guide_cont lf">
                <div class="Guide_box" style="border-right-style: none;">
                    <div class="pic">
                        <a href="#"><img alt="P2P网贷" src="/pc/resources/New_pic/date_2.png" /></a>
                    </div>
                    <h5>
                        <a href="#">普惠</a>
                    </h5>
                    <ul>
                        <li>投资门槛仅50元</li>
                        <li>预期年化收益8%-12%</li>
                    </ul>
                </div>
            </div>
            <div class="Guide_cont lf">
                <div class="Guide_box">
                    <div class="pic">
                        <a href="#">
                            <img alt="个人理财" src="/pc/resources/New_pic/date_3.png" />
                        </a>
                    </div>
                    <h5>
                        <a href="#">灵活</a>
                    </h5>
                    <ul>
                        <li>多种借款期限（1天至30个月）</li>
                        <li>多种还款方式及债权转让功能</li>
                    </ul>
                </div>
            </div>
            <div class="clear">
            </div>
        </div>
        <div class="Suced_list">
            <h4>
                <span class="lf">成功的投资列表</span>
                <b class="lf">|</b>
                <a href="/Invest/Invest_Show" class="Now_Loan font_14 radius_5 lf">现在去投资</a>
                <span class="lf" style="font-size: 12px; margin: 0 0 0 5px;">理财有风险，投资需谨慎</span>
                <a href="/MemLoan/More_MemLoan" class="font_14 rt">更多>></a>
            </h4>
            <dl class="Bid_head">
                <dd class="dd_1">
                    借款人/借款项目
                </dd>
                <dd class="dd_2">
                    利率
                </dd>
                <dd class="dd_3">
                    借款金额
                </dd>
                <dd class="dd_4">
                    期限/还款方式
                </dd>
            </dl>
            
            <div id="div1">

            </div>
            <div class="clear">
            </div>
        </div>

        <div class="New_Notice Same lf">
           
      </div>
        <div class="Media_Bd Same lf">
           
        </div>


        <div class="Bbs_Dt Same lf">
           
        </div>
        <div class="Hl_Story Same lf">
           
        </div>
        <div class="clear">
        </div>
    </div>
</div>
<div class="clear">

</div>
<script type="text/javascript">
    function toImgPage(linkUrl) {
        if (linkUrl == undefined || linkUrl == null || linkUrl == 'null' || linkUrl.length == 0)

        {
            return;
        }
        window.location.href = linkUrl;
    }
</script>